package com.example.demo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.config.server.EnableConfigServer;
import org.springframework.cloud.context.config.annotation.RefreshScope;

@SpringBootApplication
@EnableConfigServer
//@EnableDiscoveryClient
public class SpringConfigServiceApplication {

	public static void main(String[] args) {
		new SpringApplicationBuilder(SpringConfigServiceApplication.class).web(true).run(args);
//		SpringApplication.run(SpringConfigServiceApplication.class, args);
	}
}
